body{
    display: flex;
    flex-direction: column;
}
body > div{
    width: 100%;
}
#header{
   height: 48px; 
   /* background-color: red; */
   display: flex;
   justify-content: center;
   background-image: url('../images/nav_img.png');
   background-repeat: no-repeat;
   background-position-x: 97%;
   background-position-y: center;
}
#header > div{
    width: 90px;
    /* background-color: #ee6a6a; */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #afafaf;
    border-bottom: 1px solid #f2f2f2;
}

#header > div > a.on{
    color: black;
    /* border-bottom: 2px solid black; */
    line-height: 48px; 
    position: relative;
}
#header > div > a.on::after{
    content: "";
    display: block;
    position: absolute;
    width: 32px;
    height: 2px;
    bottom: 1px;
    background-color: black;
    border-radius: 1px;
}

#search{
   height: 66px; 
   /* background-color: rgb(139, 34, 34); */
   display: flex;
   justify-content: center;
   align-items: center;
}
#search > div.se{
    height: 42px;
    width: 309px;
}
#search > div.se >input{
    height: 42px;
    width: 309px;
    border: none;
    outline: none;
    border-radius: 42px;
    padding-left: 35px;
    background: #fafafa url('../images/search.png') no-repeat 10px;
    background-size: 25px;
}
#search > div.fl{
    width: 27px;
    display: flex;
    flex-direction: column;
    font-size: 12px;
    margin-left: 10px;
}
#main{
   /* height: 66px;  */
   background-color: #fafafa;
   flex: 1;
   display: flex;
   flex-wrap: wrap;
   justify-content: space-evenly;
   overflow: auto;
}
#main > div.book{
    width: 179px;
    height: 245px;
    background-color: #fff;
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    border-radius: 12px;
}
#main > div.book1{
    width: 179px;
    height: 121px;
    background-color: #fff;
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
}
#main > div.book2{
    width: 179px;
    height: 121px;
    background-color: #fff;
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
}
#main > div.book1 img{
    width: 49px;
    height: 36px;
}
#main > div.book1 h2{
    font-weight: 900;
}
#main > div.book1 span{
    font-style: italic;
    color: #c75955;
    font-weight: 900;
}
#main > div.book1 span::after{
    content: " 条>";
    color: #aaaaaa;
    font-style: normal;
}
#main > div.book2 img{
    width: 33px;
    height: 30px;
}
#main > div.book2 span{
    font-size: 12px;
    color: #aaaaaa;
}
#main > div.book img{
    width: 108px;
    height: 153px;
}
#main > div.book > .book_ti{
    font-weight: 900;
}
#main > div.book > .book_ti2{
    font-weight: 900;
    padding-top: 10px;
    font-size: 12px;
    color: #497749;
    background-color: #f7f7f7;
    padding: 7px;
    border-radius: 15px;
}
#footer{
   height: 50px; 
   /* background-color: rgb(125, 116, 138); */
   display: flex;
   justify-content: space-around;
   align-items: center;
   border-top: 1px solid #f2f2f2;
   
}
#footer > div{
    display: flex;
    flex-direction:column;
    font-size: 12px;
    align-items: center;
    
}
#footer > div img{
    width: 25px;
}
#footer > div.sy1{
    color: green;
}